// private Integer id;
// private Integer userId;
// private String userName;
// private String headImage;
// private String text;
// private String image;
// private Integer likes;
// private boolean isFavorite;
// private LocalDateTime createTime;


export default class message{
  id:number;
  userId:number;
  userName:string;
  headImage:string;
  text :string;
  image:string;
  likes:number;
  favorite:boolean;
  createTime:string;

  constructor(a,b,c,d,e,f,g,h,i) {
    this.id=a;
    this.userId=b;
    this.userName=c;
    this.headImage=d;
    this.text=e;
    this.image=f;
    this.likes=g;
    this.favorite=h;
    this.createTime=i;
  }



}